package com.jozen.modelbase.netwoek.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.google.gson.annotations.SerializedName;

import java.util.List;

public class HomeModel {
    private int AdvertiseType;//广告类型 0：无    1：视频    2：图片轮播

    private int ToiletTimeShowType;//字段值：（ 0：不显示 1：单时钟 2：时钟+天气）
    private String VideoPath;
    private boolean MaleEnvEnable; //男厕环境监测显示配置、
    private boolean FemaleEnvEnable; //女厕环境监测显示配置
    private boolean FamilyEnvEnable; //第三卫环境监测显示配置
    private boolean BabyCareEnvEnable; //母婴室环境监测显示配置
    private int MaleSpareToilet;//男厕剩余厕位 没有配置返回-1
    private int SpareUrinal;//剩余便池 没有配置返回-1
    private int FemaleSpareToilet;//女厕剩余厕位 没有配置返回-1
    private int FamilyToilet;//剩余第三卫生间位置 没有配置返回-1
    private int BabyCareToilet;//母婴剩余厕位 没有配置返回-1
    private int MaleToiletSum;//男厕所单位总数
    private int UrinalSum;//便池厕位总数
    private int FemaleToiletSum;//女厕位总数
    private int FamilyToiletSum;//第三卫厕位总数
    private int BabyCareToiletSum;//母婴室厕位总数

    private boolean ShowWaterMeterFlag;//显示水表数据
    private boolean ShowEnergyMeterFlag;//显示电表数据
    private double WaterMeterData;//水表数据
    private double EnergyMeterData;//电表数据
    private String key;//返回空时不显示天气

    //总日流量字段：
    private int TodayHumanSum;
    //总人流量字段：
    private int TotalHumanSum;
    //男厕日流量字段：
    private int MaleTodayHumanSum;
    //男厕人流量字段：
    private int MaleTotalHumanSum;
    //女厕日流量字段：
    private int FemaleTodayHumanSum;
    // 女厕人流量字段：
    private int FemaleTotalHumanSum;
    //第三卫日流量字段：
    private int FamilyTodayHumanSum;
    //第三卫人流量字段：
    private int FamilyTotalHumanSum;
    //是否启用男厕客流
    private boolean MaleHumanEnable;
    //是否启用女厕客流
    private boolean FemaleHumanEnable;
    //是否启用第三卫客流
    private boolean FamilyHumanEnable;
    //是否启用总客流
    private boolean TotalHumanEnable;

    private String LogoPath;


    public String getLogoPath() {
        return LogoPath;
    }

    public void setLogoPath(String LogoPath) {
        this.LogoPath = LogoPath;
    }


    public boolean isFemaleEnvEnable() {
        return FemaleEnvEnable;
    }

    public void setFemaleEnvEnable(boolean FemaleEnvEnable) {
        this.FemaleEnvEnable = FemaleEnvEnable;
    }

    public int getToiletTimeShowType() {
        return ToiletTimeShowType;
    }

    public void setToiletTimeShowType(int ToiletTimeShowType) {
        this.ToiletTimeShowType = ToiletTimeShowType;
    }

    public int getMaleTodayHumanSu() {
        return MaleTodayHumanSum;
    }

    public void setMaleTodayHumanSu(int maleTodayHumanSu) {
        MaleTodayHumanSum = maleTodayHumanSu;
    }

    public int getMaleTotalHumanSu() {
        return MaleTotalHumanSum;
    }

    public void setMaleTotalHumanSu(int maleTotalHumanSu) {
        MaleTotalHumanSum = maleTotalHumanSu;
    }

    public int getFemaleTodayHumanSu() {
        return FemaleTodayHumanSum;
    }

    public void setFemaleTodayHumanSu(int femaleTodayHumanSu) {
        FemaleTodayHumanSum = femaleTodayHumanSu;
    }

    public int getFemaleTotalHumanSu() {
        return FemaleTotalHumanSum;
    }

    public void setFemaleTotalHumanSu(int femaleTotalHumanSu) {
        FemaleTotalHumanSum = femaleTotalHumanSu;
    }

    public int getFamilyTodayHumanSu() {
        return FamilyTodayHumanSum;
    }

    public void setFamilyTodayHumanSu(int familyTodayHumanSu) {
        FamilyTodayHumanSum = familyTodayHumanSu;
    }

    public int getFamilyTotalHumanSu() {
        return FamilyTotalHumanSum;
    }

    public void setFamilyTotalHumanSu(int familyTotalHumanSu) {
        FamilyTotalHumanSum = familyTotalHumanSu;
    }

    public boolean isMaleHumanEnable() {
        return MaleHumanEnable;
    }

    public void setMaleHumanEnable(boolean MaleHumanEnable) {
        this.MaleHumanEnable = MaleHumanEnable;
    }

    public boolean isFemaleHumanEnable() {
        return FemaleHumanEnable;
    }

    public void setFemaleHumanEnable(boolean FemaleHumanEnable) {
        this.FemaleHumanEnable = FemaleHumanEnable;
    }

    public boolean isFamilyHumanEnable() {
        return FamilyHumanEnable;
    }

    public void setFamilyHumanEnable(boolean FamilyHumanEnable) {
        this.FamilyHumanEnable = FamilyHumanEnable;
    }

    public boolean isTotalHumanEnable() {
        return TotalHumanEnable;
    }

    public void setTotalHumanEnable(boolean TotalHumanEnable) {
        this.TotalHumanEnable = TotalHumanEnable;
    }

    private List<ListDTO> MaleList;
    private List<ListDTO> FemaleList;
    private List<ListDTO> FamilyList;
    private List<PhotoBean> PhotoList;
    private List<EnvDataListDto> EnvDataList;
    private long UpdateTime;//轮播图是否有更改
    private String cityName;
    private String CityId;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public double getWaterMeterData() {
        return WaterMeterData;
    }

    public void setWaterMeterData(double WaterMeterData) {
        this.WaterMeterData = WaterMeterData;
    }

    public double getEnergyMeterData() {
        return EnergyMeterData;
    }

    public void setEnergyMeterData(double EnergyMeterData) {
        this.EnergyMeterData = EnergyMeterData;
    }

    private String Tagline; //字段值：（字符串类型，字符串为空时不展示标语）

    public boolean isShowWaterMeterFlag() {
        return ShowWaterMeterFlag;
    }

    public void setShowWaterMeterFlag(boolean ShowWaterMeterFlag) {
        this.ShowWaterMeterFlag = ShowWaterMeterFlag;
    }

    public boolean isShowEnergyMeterFlag() {
        return ShowEnergyMeterFlag;
    }

    public void setShowEnergyMeterFlag(boolean ShowEnergyMeterFlag) {
        this.ShowEnergyMeterFlag = ShowEnergyMeterFlag;
    }

    public int getTodayHumanSu() {
        return TodayHumanSum;
    }

    public void setTodayHumanSu(int todayHumanSu) {
        TodayHumanSum = todayHumanSu;
    }

    public int getTotalHumanSu() {
        return TotalHumanSum;
    }

    public void setTotalHumanSu(int totalHumanSu) {
        TotalHumanSum = totalHumanSu;
    }

    public boolean isMaleEnvEnable() {
        return MaleEnvEnable;
    }

    public void setMaleEnvEnable(boolean MaleEnvEnable) {
        this.MaleEnvEnable = MaleEnvEnable;
    }

    public boolean isFamilyEnvEnable() {
        return FamilyEnvEnable;
    }

    public void setFamilyEnvEnable(boolean FamilyEnvEnable) {
        this.FamilyEnvEnable = FamilyEnvEnable;
    }

    public boolean isBabyCareEnvEnable() {
        return BabyCareEnvEnable;
    }

    public void setBabyCareEnvEnable(boolean BabyCareEnvEnable) {
        this.BabyCareEnvEnable = BabyCareEnvEnable;
    }

    public int getBabyCareToilet() {
        return BabyCareToilet;
    }

    public void setBabyCareToilet(int BabyCareToilet) {
        this.BabyCareToilet = BabyCareToilet;
    }

    public int getMaleToiletSu() {
        return MaleToiletSum;
    }

    public void setMaleToiletSu(int maleToiletSu) {
        MaleToiletSum = maleToiletSu;
    }

    public int getUrinalSu() {
        return UrinalSum;
    }

    public void setUrinalSu(int urinalSu) {
        UrinalSum = urinalSu;
    }

    public int getFemaleToiletSu() {
        return FemaleToiletSum;
    }

    public void setFemaleToiletSu(int femaleToiletSu) {
        FemaleToiletSum = femaleToiletSu;
    }

    public int getFamilyToiletSu() {
        return FamilyToiletSum;
    }

    public void setFamilyToiletSu(int familyToiletSu) {
        FamilyToiletSum = familyToiletSu;
    }

    public int getBabyCareToiletSu() {
        return BabyCareToiletSum;
    }

    public void setBabyCareToiletSu(int babyCareToiletSu) {
        BabyCareToiletSum = babyCareToiletSu;
    }

    public String getTagline() {
        return Tagline;
    }

    public void setTagline(String Tagline) {
        this.Tagline = Tagline;
    }

    public List<ListDTO> getFamilyList() {
        return FamilyList;
    }

    public void setFamilyList(List<ListDTO> FamilyList) {
        this.FamilyList = FamilyList;
    }

    public int getFamilyToilet() {
        return FamilyToilet;
    }

    public void setFamilyToilet(int familyToilet) {
        FamilyToilet = familyToilet;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityId() {
        return CityId;
    }

    public void setCityId(String cityId) {
        CityId = cityId;
    }

    public long getUpdateTime() {
        return UpdateTime;
    }

    public void setUpdateTime(long updateTime) {
        UpdateTime = updateTime;
    }

    public List<EnvDataListDto> getEnvDataList() {
        return EnvDataList;
    }

    public void setEnvDataList(List<EnvDataListDto> envDataList) {
        EnvDataList = envDataList;
    }

    public List<PhotoBean> getPhotoList() {
        return PhotoList;
    }

    public void setPhotoList(List<PhotoBean> photoList) {
        PhotoList = photoList;
    }

    public int getAdvertiseType() {
        return AdvertiseType;
    }

    public void setAdvertiseType(int advertiseType) {
        AdvertiseType = advertiseType;
    }

    public String getVideoPath() {
        return VideoPath;
    }

    public void setVideoPath(String videoPath) {
        VideoPath = videoPath;
    }

    public int getTodayHumanSum() {
        return TodayHumanSum;
    }

    public void setTodayHumanSum(int todayHumanSum) {
        TodayHumanSum = todayHumanSum;
    }

    public int getTotalHumanSum() {
        return TotalHumanSum;
    }

    public void setTotalHumanSum(int totalHumanSum) {
        TotalHumanSum = totalHumanSum;
    }

    public int getMaleSpareToilet() {
        return MaleSpareToilet;
    }

    public void setMaleSpareToilet(int maleSpareToilet) {
        MaleSpareToilet = maleSpareToilet;
    }

    public int getSpareUrinal() {
        return SpareUrinal;
    }

    public void setSpareUrinal(int spareUrinal) {
        SpareUrinal = spareUrinal;
    }

    public int getFemaleSpareToilet() {
        return FemaleSpareToilet;
    }

    public void setFemaleSpareToilet(int femaleSpareToilet) {
        FemaleSpareToilet = femaleSpareToilet;
    }

    public List<ListDTO> getMaleList() {
        return MaleList;
    }

    public void setMaleList(List<ListDTO> maleList) {
        MaleList = maleList;
    }

    public List<ListDTO> getFemaleList() {
        return FemaleList;
    }

    public void setFemaleList(List<ListDTO> femaleList) {
        FemaleList = femaleList;
    }

    public static class ListDTO implements MultiItemEntity {
        private int Value;
        private String Unit;
        private String ValueStr;
        private int Evnstate;//环境质量 0优 1差

        private int State;//告警状态 0正常 大于0告警
        private int ViewType;//0:% 1摄氏度 2PPM
        private int ModelId;//区分使用什么单位，如果是VOC/PM2.5 需要这边去设置单位，因为服务端返回乱码

        public int getState() {
            return State;
        }

        public void setState(int State) {
            this.State = State;
        }

        public int getViewType() {
            return ViewType;
        }

        public int getModelId() {
            return ModelId;
        }

        public void setModelId(int modelId) {
            ModelId = modelId;
        }

        public void setViewType(int viewType) {
            ViewType = viewType;
        }

        public int getValue() {
            return Value;
        }

        public void setValue(int value) {
            Value = value;
        }

        public String getUnit() {
            return Unit;
        }

        public void setUnit(String unit) {
            Unit = unit;
        }

        public String getValueStr() {
            return ValueStr;
        }

        public void setValueStr(String valueStr) {
            ValueStr = valueStr;
        }

        public int getEvnstate() {
            return Evnstate;
        }

        public void setEvnstate(int evnstate) {
            Evnstate = evnstate;
        }

        @Override
        public int getItemType() {
            return ViewType;
        }
    }

    public static class ListKeliu {
        private int type;//1 总日 2 男厕 3 女厕 4 第三卫

        private int totalNum;
        private int num;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getTotalNu() {
            return totalNum;
        }

        public void setTotalNu(int totalNu) {
            totalNum = totalNu;
        }

        public int getNu() {
            return num;
        }

        public void setNu(int nu) {
            num = nu;
        }
    }

    public static class PhotoBean {
        private int Id;
        private String PhotoPath;

        public int getId() {
            return Id;
        }

        public void setId(int id) {
            Id = id;
        }

        public String getPhotoPath() {
            return PhotoPath;
        }

        public void setPhotoPath(String photoPath) {
            PhotoPath = photoPath;
        }
    }

    public static class EnvDataListDto {

        private int ModelId;
        private boolean IsEnable;
        private String ModelName;
        private String IconURL;

        public int getModelId() {
            return ModelId;
        }

        public void setModelId(int modelId) {
            ModelId = modelId;
        }

        public boolean isEnable() {
            return IsEnable;
        }

        public void setEnable(boolean enable) {
            IsEnable = enable;
        }

        public String getModelName() {
            return ModelName;
        }

        public void setModelName(String modelName) {
            ModelName = modelName;
        }

        public String getIconURL() {
            return IconURL;
        }

        public void setIconURL(String iconURL) {
            IconURL = iconURL;
        }
    }


}
